package cn.soft863.users.pojo;

import java.util.Date;

/**
 * PlainObject JavaObject:java的原型对象, 
 * 类只有一些属性和表里面的列名一一对应, 读写器,无参的构造函数.(JavaBean).
 * 
 * @author 902-B-Book
 *
 */
public class AAdmins
{
	/* 类的属性名一定得和表的列名一样 */
	private int id;
	private String email;
	private String password;
	private String name;
	private String phone;
	private String qq;
	private int loginCount;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date lastLoginTime;

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getPhone()
	{
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getQq()
	{
		return qq;
	}

	public void setQq(String qq)
	{
		this.qq = qq;
	}

	public int getLoginCount()
	{
		return loginCount;
	}

	public void setLoginCount(int loginCount)
	{
		this.loginCount = loginCount;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getLastLoginTime()
	{
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime)
	{
		this.lastLoginTime = lastLoginTime;
	}

	@Override
	public String toString()
	{
		return "AAdmins [id=" + id + ", email=" + email + ", password=" + password + ", name=" + name
				+ ", phone=" + phone + ", qq=" + qq + ", loginCount=" + loginCount + ", status=" + status
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", lastLoginTime=" + lastLoginTime
				+ "]";
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

}
